home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 11 / Mac Magazin and MacEasy Magazine CD - Issue 11.iso / Sharewarebibliothek / Entwickler / CW 6.1 Patch / Read Me First
Text File  |  1995-06-08  |  4KB  |  87 lines

  1. Metrowerks CW6 June Patch - Read Me First
  2.  
  3. This package includes replacements for miscompiled libraries, old versions of stationery and mistaken headers, as well as a list of known errors and how to deal with them.
  4.  
  5. This document describes workarounds for known errors, and how to install the contents of the patch package.
  6.  
  7. =======================================================================
  8. Pascal
  9. =======================================================================
  10.  
  11. The Pascal 1.1.1 Update folder contains Metrowerks Pascal version 1.1.1, new Pascal stationery and various support files.  Please refer to the release note for information and installation instructions.
  12.  
  13.  
  14. =======================================================================
  15. C/C++
  16. =======================================================================
  17.  
  18. ===================
  19. Errors
  20. ===================
  21.  
  22. Link Error   : xldtob.c: 'num2dec' referenced from '_Ldtob' is undefined.
  23. Link Error   : xldtob.c: 'dec2str' referenced from '_Ldtob' is undefined.
  24.  
  25. < FIX > Add the appropriate MathLib to your project.
  26.  
  27.  
  28. Link Error   : SetupExit.c: '__exit_proc' referenced from 'SetupExit' is undefined.
  29.  
  30. < FIX > Just insert this line: 
  31.  
  32.                   void (*__exit_proc__)(void);
  33.  
  34. somewhere in your global sources.  It will never be called anywhere, but must be there to satisfy the linker.
  35.  
  36.  
  37. ================
  38. Libraries 
  39. ================
  40.  
  41. The SIOUX.68K.Lib and the MathLib68K libraries on CW6 were not compiled using the "far" options.  If you try to use them in a large project, you will get '16-bit reference to xxx from yyy is out of range' errors.  
  42.  
  43. This package includes an AppleScript which rebuilds the Mathlib68K libraries.  Copy it into to the 'Metrowerks C/C++:Libraries:MacOS 68K:MathLib68K' folder, and run it.  You may have to adjust the RootPath name to the correct name for your Hard Drive where the CodeWarrior Folder is located.  You must also copy the accompanying fp68K(Apple).A4/5.glue.lib files into the 'Metrowerks C/C++:Libraries:MacOS 68K:MathLib68K:MathLib68K Sources' folder.
  44.  
  45. You should also copy the "far" version of the SIOUX.68K.Lib from into 'Metrowerks C/C++:Libraries:SIOUX' folder.
  46.   
  47. ===================
  48. Stationery
  49. ===================
  50.  
  51. There are mistakes in the CW6 Mac C PPC app and PowerPlant stationery which can cause compile and link errors.  This package gives you the fixed versions.
  52.  
  53. Into Project Stationery folder.
  54. --------------------------
  55. Put the contents of the 'INTO (Project Stationery)' folder into the Metrowerks C/C++ : (Project Stationery) folder, replacing the existing  files.
  56.  
  57. Into Project Stationery Support folder
  58. -----------------------------------
  59. Put the contents of the 'INTO Headers:INTO Project Stationery Support' folder into the Metrowerks C/C++ :  Headers : Project Stationery Support folder and replace the existing  files.
  60.  
  61.  
  62. ===================
  63. Other Files
  64. ===================
  65.  
  66. INTO ANSI Headers Folder
  67. ------------------------
  68. Corrected versions of the ANSI headers math.h, setjmp.h, stat.h, stdio.h, string.h, and yvals.h.  Put the contents of the Into ANSI folder into the 'Metrowerks C/C++ : Headers: ANSI Headers' Folder and replace the existing  files.
  69.  
  70. Into SIOUX Folder
  71. -----------------------
  72. New console.stubs.c adds pragmas to avoid Unused Parameter warnings, and a __ttyname function.  This folder also contains SIOUX.68K.Lib.  Put the contents of the 'INTO SIOUX' folder into the 'Metrowerks C/C++ : Libraries: SIOUX' folder and replace the existing files.
  73.  
  74.  
  75. =======================================================================
  76. We hope these fixes address your urgent needs.
  77.  
  78. Please use the forms in the Release Notes folder on the CW6 disc to send questions, bug reports and suggestions to support@metrowerks.com.  
  79.  
  80. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  81. The software included with this message is the property of Metrowerks and its
  82. Licensors. This software is Copyright 1993-1995 by Metrowerks and its
  83. Licensors unless specifically stated otherwise. Please read the licensing
  84. agreement included on your CodeWarrior CD.
  85. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  86.  
  87. June 8, 1995